package com.huiyujiaoyu.util;

import android.view.ViewConfiguration;

/**
 * Created by yujunlong on 2017/4/18.
 */

public class Constant {
    public static final String ISLOGIN = "islogin";//判断是否登录
    public static final String ISFIRSTOPEN = "isFirstOpen";// 是否第一次打开app
    public static final String USERID = "userId";
    public static final String TOKEN = "token";
    public static final String PHONE = "phone";
    public static final String USERTYPE = "userType";
    public static final String TYPE_CX = "type";
    public static final String NICKNAME = "nickName";
    public static final String HEADIMG = "headImg";
    public static final String FIRSTOPEN = "firstOpen";
    public static final String RONGTOKEN = "rongtoken";
    public static final String IS_VIP = "is_vip";

    public static final String HOBBY_IDS = "selecthobby_ids";
    public static final String HOBBYIDS = "hobbyids";
    public static final String MONEY = "money";
    public static final String GOLD = "gold";
    public static final String GENDER = "gender";
    public static final String SIGNATURE = "signature";
    public static final String EXPIRY_DATE = "expiry_date";
    public static final String BALANCE = "balance";
    public static final String ADDRESS = "address";
    public static final String SCORE = "score";
    public static final String IS_AGENT = "is_agent";
    public static final String WECHAT = "wechat";
    public static final String QQ = "qq";
    public static final String BLOG = "blog";


    public static final String STATE_SAVE_IS_HIDDEN = "state_save_is_hidden";
    public static final String TAB_SELECT_POS = "tab_select_pos";


    public static final long GETCODETIME = 60 * 1000;
    public static final String DATA = "blove_data";
    public static final String DATA2 = "blove_data2";
    public static final String DATA3 = "blove_data3";
    public static final String DATA4 = "blove_data4";
    public static final String DATA5 = "blove_data5";
    public static final String TYPE =  "blove_type";

    public static final String addPhoto = "0x11@type_add";
    public static final int REQUEST_CODE_IMAGE = 100;
    public static final int REQUEST_CODE_LOCAL = 200;
    public static final int REQUEST_CODE_SELECT_FILE = 300;
    public static final int REQUEST_CODE_CAMERA = 400;
    public static final int PHOTORESOULT = 500;


    public static String URL_DATA = "";

    public static final String IMG_MEDIATYPE = "image/png";
    public static final String MULTIPART_FORM_DATA = "multipart/form-data";
    public static final String TEXT_FROMDATA = "text/plain";

    public static final int PAGE_SIZE = 10;
    public static final int START_PAGE = 1;


    public static final String KEY_CODE="hyzy_APP2017";
    public static final String JOIN_AU ="file:////android_asset/author/join_author.html";
    public static final String ABOUT_US ="http://wechat.nlsgapp.com/site/about?version=%s";
    public static final String WZXQ = "http://api.nlsgapp.com/work/article?content_id=%s&user_id=%s&type=1&timestamp=%s&code=%s";



    public static final int CONTENT_TYPE_ALL = 0;
    public static final int CONTENT_TYPE_YP = 2;
    public static final int CONTENT_TYPE_SP = 3;
    public static final int CONTENT_TYPE_WZ = 1;
    public static final int RX_CA_WRI = 5000;

    public static final long ZOOM_CONTROLS_TIMEOUT = ViewConfiguration.getZoomControlsTimeout();

}
